<template>
  <div class="box">
      <div class="left">
          <img src="@/assets/logo.png" alt="">
      </div>
      <div class="right" @click='loginOut'>
          退出
      </div>
  </div>
</template>

<script>
export default {
    methods:{
        loginOut(){
            this.$router.push('/login')
        }
    }
}
</script>

<style lang='scss' scoped>
    .box{
        width: 100%;
        height: 80px;
        background: #333;
        color: white;
        display: flex;
        justify-content: space-between;
        line-height: 80px;
        padding-right: 10px;
        img{
            height: 60px;
            margin: 10px;
            margin-left: 70px;
        }
    }
</style>